import constants from '@/commons/constants';
const moduleCode = constants.MODULE_MALL_CODE;
export default [
    {
        path: '/shop',
        redirect: '/shop/printer',
        code: 'shop_set',
        moduleCode
    },
    {
        path: '/shop/printer',
        component: () => import('@/views/mall/shop/printer/index.vue'),
        meta: {
            title: '打印机设置',
            code: 'printer_set',
            moduleCode
        }
    },
    {
        path: '/shop/add',
        component: () => import('@/views/mall/shop/printer/add.vue'),
        meta: {
            title: '新增打印机',
            code: 'printer_set',
            permAuth: false,
            moduleCode
        }
    },
    {
        path: '/shop/edit',
        component: () => import('@/views/mall/shop/printer/edit.vue'),
        meta: {
            title: '编辑打印机',
            code: 'printer_set',
            permAuth: false,
            moduleCode
        }
    }
];
